namespace ClassLibrary1
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("rms.shopaddress")]
    public partial class shopaddress
    {
        [Column(TypeName = "umediumint")]
        public int id { get; set; }

        [Column(TypeName = "umediumint")]
        public int? userid { get; set; }

        [StringLength(50)]
        public string username { get; set; }

        [StringLength(60)]
        public string telnumber { get; set; }

        [StringLength(50)]
        public string province { get; set; }

        [StringLength(50)]
        public string city { get; set; }

        [StringLength(50)]
        public string county { get; set; }

        [StringLength(120)]
        public string detail { get; set; }

        public int? isdefault { get; set; }
    }
}
